package per.ethan.ssm.mointor;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * @author Ethan
 * @date 2020/05/05 11:07
 */
@WebServlet(name="druidServlet", urlPatterns="/druid/*", initParams={
        @WebInitParam(name="allow", value=""),
        @WebInitParam(name="enabled", value="true"),
        @WebInitParam(name="loginUsername", value="admin"),
        @WebInitParam(name="loginPassword", value="123456"),
        @WebInitParam(name="resetEnable", value="false")
})
public class DruidServletMonitor extends StatViewServlet {
}
